// bloc/auth/auth_event.dart (*** REVISED ***)
abstract class AuthEvent {}

// Fired when the app starts to check auth status
class AppStarted extends AuthEvent {}
class AuthLogoutPress extends AuthEvent {}

// Fired when the user presses the login button
class LoginButtonPressed extends AuthEvent {
  final String phone;
  final String code;
  LoginButtonPressed({required this.phone, required this.code});
}


class GetCodePressed extends AuthEvent {
  final String phone;
  GetCodePressed({required this.phone});
}


// Fired when the user presses the logout button
class LogoutButtonPressed extends AuthEvent {}